/**********************************************
 * 
 * File Name				:	CommonServicesImpl.java
 * 
 * Last Changed Date		: 	$Date: 2009-08-06 14:51:00 +0800 (星期四, 06 八月 2009) $
 * 
 * Last Changed Revision	:	$Revision: 92 $
 * 
 * Last Changed Author		:	$Author: cfanboy $
 * 
 * File Header URL			:	$HeadURL: svn://www.svnhost.cn/Busi-Building/code/branch/src/com/busibuilding/common/services/CommonServicesImpl.java $
 * 
 * ********************************************
 */

package com.busibuilding.common.services;

import org.springframework.transaction.annotation.Transactional;

import com.busibuilding.common.exceptions.ServiceException;
import com.busibuilding.common.vo.ICommonVO;

/**
 * Class Name: CommonServicesImpl.java
 * Description: 
 * @author YU Zhipeng
 * @version 1.0
 * @since 1.0
 * Date: 2009-7-20
 */
@Transactional(rollbackForClassName={"Exception"})
public abstract class CommonServicesImpl implements CommonServices {

	/**
	 * 
	 */
	private static final long serialVersionUID = -126267407744998401L;

	/**
	 * To get the records count for pagination
	 * @param vo
	 * @return
	 * @throws ServiceException
	 */
	public abstract int getRecordsCount(ICommonVO vo)  throws ServiceException;
}
